import 'package:event_bus/event_bus.dart';
import 'package:kxy_flutter_app/model/exam_rank.dart';
import 'package:kxy_flutter_app/model/integral_rank.dart';

class Events {
  static EventBus _instance = new EventBus();
  static EventBus get instance => _instance;
}

class MyExamRankChanged {
  ExamRank rank;

  MyExamRankChanged({this.rank});
}

class MyIntegralRankChanged {
  IntegralRank rank;
  int type;

  MyIntegralRankChanged({this.rank, this.type});
}
